Integrand size = 11, antiderivative size = 13 \[ \int \frac {a+b x^n}{x} \, dx=\frac {b x^n}{n}+a \log (x) \]
[Out]
Time = 0.00 (sec) , antiderivative size = 13, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 1, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.091, Rules used = {14} \[ \int \frac {a+b x^n}{x} \, dx=a \log (x)+\frac {b x^n}{n} \]
[In]
[Out]
Rule 14
Rubi steps \begin{align*} \text {integral}& = \int \left (\frac {a}{x}+b x^{-1+n}\right ) \, dx \\ & = \frac {b x^n}{n}+a \log (x) \\ \end{align*}
Time = 0.00 (sec) , antiderivative size = 18, normalized size of antiderivative = 1.38 \[ \int \frac {a+b x^n}{x} \, dx=\frac {b x^n}{n}+\frac {a \log \left (x^n\right )}{n} \]
[In]
[Out]
Time = 0.02 (sec) , antiderivative size = 14, normalized size of antiderivative = 1.08
method | result | size |
risch | \(\frac {b \,x^{n}}{n}+a \ln \left (x \right )\) | \(14\) |
norman | \(a \ln \left (x \right )+\frac {b \,{\mathrm e}^{n \ln \left (x \right )}}{n}\) | \(16\) |
parallelrisch | \(\frac {a \ln \left (x \right ) n +b \,x^{n}}{n}\) | \(16\) |
derivativedivides | \(\frac {b \,x^{n}+a \ln \left (x^{n}\right )}{n}\) | \(17\) |
default | \(\frac {b \,x^{n}+a \ln \left (x^{n}\right )}{n}\) | \(17\) |
[In]
[Out]
none
Time = 0.27 (sec) , antiderivative size = 15, normalized size of antiderivative = 1.15 \[ \int \frac {a+b x^n}{x} \, dx=\frac {a n \log \left (x\right ) + b x^{n}}{n} \]
[In]
[Out]
Time = 0.08 (sec) , antiderivative size = 17, normalized size of antiderivative = 1.31 \[ \int \frac {a+b x^n}{x} \, dx=\begin {cases} a \log {\left (x \right )} + \frac {b x^{n}}{n} & \text {for}\: n \neq 0 \\\left (a + b\right ) \log {\left (x \right )} & \text {otherwise} \end {cases} \]
[In]
[Out]
none
Time = 0.19 (sec) , antiderivative size = 18, normalized size of antiderivative = 1.38 \[ \int \frac {a+b x^n}{x} \, dx=\frac {b x^{n}}{n} + \frac {a \log \left (x^{n}\right )}{n} \]
[In]
[Out]
\[ \int \frac {a+b x^n}{x} \, dx=\int { \frac {b x^{n} + a}{x} \,d x } \]
[In]
[Out]
Time = 0.00 (sec) , antiderivative size = 13, normalized size of antiderivative = 1.00 \[ \int \frac {a+b x^n}{x} \, dx=a\,\ln \left (x\right )+\frac {b\,x^n}{n} \]
[In]
[Out]